#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
__title__ = ''
__author__ = 'python'
__mtime__ = '18-9-8'
# code is far away from bugs with the god animal protecting ~
"""

from flask_script import Manager
from flask_migrate import Migrate, MigrateCommand
from info import db, createApp
from info.models import *

app = createApp("develop")
manager = Manager(app)

Migrate(app, db)
manager.add_command("db", MigrateCommand)

if __name__ == '__main__':
	# print(app.url_map)
	manager.run()
